import Vue from "vue";
import Router from "vue-router";

import Index from "@/views/Index";

import Introduce from "@/views/Introduce";

import Login from "@/views/Login";

import Import from "@/views/InfoManage/Import"; //导入
import Output from "@/views/InfoManage/Output"; //导出

import Student from "@/views/query/Student"; //学生查询
import Worker from "@/views/query/Worker"; //职工查询


import stuList from "@/views/userManage/StudentList"; //学员列表
import teaList from "@/views/userManage/teacherList"; //教师列表
import Termadd from "@/views/term/Termadd";  //添加期数
import Termlist from "@/views/term/Termlist";  //期数列表
import Classadd from "@/views/course/Classadd";  //分配课程
import Classlist from "@/views/course/Classlist";  //课程列表管理
import Assign from "@/views/evaluate/Assign";  //设置评价模板
import Addque from "@/views/evaluate/Addque";  //添加评级问题
import Allfinished from "@/views/evaluate/Allfinished";  //已完成评价学员
import Unfinished from "@/views/evaluate/Unfinished";  //未完成评价学员

import evaluationEfficiency from "@/views/evaluate/evaluationEfficiency"; //评价效率
Vue.use(Router);

export default new Router({
  routes: [
    {
      path:"/index",
      component:Index,
    },
    {
      path:"/",
      component:Introduce
    },
    {
      path:"/login",
      component:Login
    },
    {
      path: "/info/mangae/input",
      component: Import
    },
    {
      path: "/info/mangae/output",
      component: Output
    },

    {
      path: "/query/student",
      component: Student
    },
    {
      path: "/query/worker",
      component: Worker
    },
    {
      path: "/user/manage/teacherlist",
      component: teaList
    },
    {
      path: "/user/manage/studentlist",
      component: stuList
    },
    {
      path:"/term/termadd",
      component:Termadd
    },
    {
      path:"/term/termlist",
      component:Termlist
    },
    {
      path:"/course/classadd",
      component:Classadd
    },
    {
      path:"/course/classlist",
      component:Classlist
    },
    {
      path:"/evaluate/assign",
      component:Assign
    },
    {
      path:"/evaluate/addquestion",
      component:Addque
    },
    {
      path:"/evaluate/allfinished",
      component:Allfinished
    },
    {
      path:"/evaluate/unfinished",
      component:Unfinished
    },
    {
      path:"/evaluate/evaluationEfficiency",
      component:evaluationEfficiency
    },
  ]
});
